import { http } from "@/utils/http";

// 店铺分类
export function getShopCategory() {
  return http.request({
    url: "/system/dict/data/type/z_classify",
    method: "get"
  });
}

// 获取店铺列表
export function getShopList(params) {
  return http.request({
    url: "/gather/locations/list",
    method: "get",
    params
  });
}

// 提交表单
export function submitForm(data) {
  return http.request({
    url: "/gather/locations",
    method: "post",
    data
  });
}
